import { Language } from "../../../../../extend/language/Language";
import { ObjCreate } from "../../common/ObjCreate";
import { ImagesConst } from "../../../resource/ImagesConst";
import { GlobalStyle } from "../../../../common/global/GlobalStyle";
type int = number;
//class PetCpnListTitlePanel
    
    export  class PetCpnListTitlePanel /* flash.display.Sprite */
    {
        constructor()
        {
            
            this._labelArray = Language.getString(54708).split("|");
            this._posArray = [];
            this.init();
            return;
        }

        /* internal  */init(): void
        {
            var loc1=null;
            var loc2=null;
            var loc3=0;
            this._posArray.push(20);
            this._posArray.push(72);
            this._posArray.push(155);
            this._posArray.push(197);
            this._posArray.push(238);
            this._posArray.push(280);
            this._posArray.push(320);
            this._posArray.push(385);
            this._posArray.push(480);
            ObjCreate.createBg(0, 0, 540, 30, this, ImagesConst.RbListHeader);
            var loc4=0;
            while (loc4 < this._labelArray.length) 
            {
                loc1 = this._labelArray[loc4];
                loc3 = this._posArray[loc4] as int;
                loc2 = ObjCreate.createTextField(loc1, loc3, 8, 220, 20, this, GlobalStyle.textFormat6);
                loc2.autoSize = flash.text.TextFieldAutoSize.LEFT;
                ++loc4;
            }
            return;
        }

        /* internal */ /* var */_labelArray: Array<any>;

        /* internal */ /* var */_posArray: Array<any>;
    }
